ShortPixel\Model\AiDataModel B

Total Complexity 84
Dependencies 3
Dependents 6
Total lines 595
Lines of code 368
Logical lines of code 206
Comment lines 34
Methods 29
Properties 12

Methods 29

Method Rating Maintainability Complexity Lines of code
getOptimizeData()
A
43 8 52
updateWPPost()
A
56 8 18
getProcessableReason()
S
51 7 29
migrate()
S
55 5 23
handleNewData()
S
53 4 26
fetchRecord()
S
52 4 24
isProcessable()
S
65 5 9
updateRecord()
S
54 3 21
isExifProcesssable()
S
57 3 16
updateWpMeta()
S
67 4 7
isSomeThingGenerated()
S
64 3 11
currentIsDifferent()
S
62 2 11
isExtensionIncluded()
S
62 2 11
__construct()
S
67 2 8
checkRowData()
S
66 2 9
mapWPVars()
S
67 2 8
getCurrentData()
S
70 2 7
checkStoredData()
S
70 2 7
hasSomethingGeneratable()
S
68 2 8
revert()
S
65 2 9
getMostRecent()
S
64 2 10
getModelByAttachment()
S
68 2 7
flushModelCache()
S
65 2 10
setCurrentData()
S
62 1 11
getGeneratedData()
S
82 1 3
getStatus()
S
82 1 3
getAttachId()
S
82 1 3
getOriginalData()
S
82 1 3
getTableName()
S
76 1 4